home *** CD-ROM | disk | FTP | other *** search
Wrap
XSetup plugin | 1999-06-12 | 2.8 KB | 101 lines
"FILE"="Xteq Systems X-Setup Plugin 5.0" "TYPE"="6" "COUNT"="4" "UIPATH"="Appearance\Explorer\Options" "NAME"="Windows Explorer Options" "VERSION"="1.3" "LANGUAGE"="VBScript" "TEXT 1"="Show "File" menu" "TEXT 2"="Enable fast update" "TEXT 3"="Wrap long icon-titles" "TEXT 4"="Always use double-pane Explorer style" "DESCRIPTION 1"="To hide the "File" menu inside the Windows Explorer, deactivate the first option." "DESCRIPTION 2"="The other options can be changed as needed." "DESCRIPTION 3"="" "AUTHOR"="Xteq Systems" "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved" "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com." "COMMENT 2"="Option DesktopProcess disabled due to problems..." sP1="HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\" sV1="NoFileMenu" sV2="HKLM\System\CurrentControlSet\Control\Update\UpdateMode" 'BINARY! sV3="HKCU\Control Panel\Desktop\WindowMetrics\IconTitleWrap" 'does anybody where this stuff comes from!?!?!?! 'AK: askSam(now) sExpPath="HKCR\Folder\Shell\Open\ddeexec\@" sExpDoub="[ExploreFolder(""%l"", %I, %S)]" sExpNorm="[ViewFolder(""%l"", %I, %S)]" 'All settings not used at the momment 'sP2="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\" 'sV2="DesktopProcess" '"DESCRIPTION 2"="Activating "Run Windows Explorer as separate process" to avoid that Desktop, Taskbar and Explorer run in the same process. Note: This option will work on Windows NT only." '"TEXT 2"="Run Windows Explorer as separate process" 'Settings from Windows 98 with IE 5 '[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\explorer\BrowseNewProcess] '"BrowseNewProcess"="NO" 'i=RegReadValue(sP2&sV2) 'If i=1 then SetUIElement 2,true 'b=GetUIElement(2) 'if b=true then ' Call RegWriteValue(sp2&sv2,1,2) 'else ' Call RegWriteValue(sp2&sv2,0,2) 'end if Sub Plugin_Initialize i=RegReadValue(sp1&sv1) If IsEmpty(i) or i=0 then SetUIElement 1,true b=RegReadValue(sV2) if b="00" then SetUIElement 2,true b=RegReadValue(sV3) if b=1 then SetUIElement 3,true s=RegReadValue(sExpPath) if ucase(s)=ucase(sExpDoub) then SetUIElement 4,true End Sub Sub Plugin_CheckData(ElementIndex) End Sub Sub Plugin_Apply(ElementIndex,ElementSubIndex) b=GetUIElement(1) if b=true then Call RegWriteValue(sp1&sv1,0,2) else Call RegWriteValue(sp1&sv1,1,2) end if b=GetUIElement(2) if b=true then Call RegWriteValue(sV2,"00",3) else Call RegWriteValue(sV2,"01",3) end if b=GetUIElement(3) if b=true then Call RegWriteValue(sV3,1,2) else Call RegWriteValue(sV3,0,2) end if b=GetUIElement(4) if b=true then Call RegWriteValue(sExpPath,sExpDoub,1) else Call RegWriteValue(sExpPath,sExpNorm,1) end if Restart End Sub Sub Plugin_Terminate End Sub